package com.cykj.service;

import com.cykj.util.ResponseDto;

public interface DetailsService {
    ResponseDto getAllDetail(int pageCurr, int pageSize);
    ResponseDto changeStatus(int proStatus, int detailsId);
    ResponseDto deleteDetail(int detailsId);
    ResponseDto alterDepart(int detailsId,
                            String detailsName,
                            String detailsUnit,
                            String detailsUp,
                            String detailsDown);
    ResponseDto searchDetailsInfo(String value, int pageCurr, int pageSize);
    ResponseDto getAllDetailsName();
    ResponseDto commitDelete(String checkedDepart);
    ResponseDto fatherDepartIdIsExist(String fatherDepartId);
    ResponseDto addDetailCommit(String detailName,
                                String fatherDepartId,
                                String detailUnit,
                                String detailUp,
                                String detailDown,
                                String status);

}
